<div class="row">
	<div class="col-md-12">
	<h2>HTTP API</h2>
	<div class="vspacer v3"></div>
	</div>

	<div class="col-md-12">

		<!-- Flat panel -->
        <div class="panel panel-default">
			<div class="panel-heading">
				<h3 class="panel-title">Introduction</h3>
			</div>

			<div class="panel-body">

				<p class="ta-left leading">Apart from this help page, all URIs
				will serve only resources of type application/json, and will
                require HTTP basic authentication. The default user is admin/admin.</p>
				<p class="ta-left leading">The emqttd_dashboard plugin provides
                		a web management console. The Dashboard helps monitor broker's running status,
                        statistics and metrics of MQTT packets.</p>
			</div>
		</div>

	</div>

	<div class="col-md-12">

        <div class="panel panel-default">
			<div class="panel-heading">
				<h3 class="panel-title">Reference</h3>
			</div>

            <table class="table responsive">
				<thead>
					<tr>
						<th>GET</th>
						<th>POST</th>
						<th>Path</th>
						<th>Description</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td>Y</td>
						<td>Y</td>
						<td><a href="/api/stats">/api/stats </a></td>
                        <td>The Statistics of Clients, Sessions, Topics and Subscriptions</td>
					</tr>
					<tr>
						<td>Y</td>
						<td>Y</td>
						<td><a href="/api/nodes">/api/nodes</a></td>
						<td>List of clustered nodes</td>
					</tr>
					<tr>
						<td>Y</td>
						<td>Y</td>
						<td><a href="/api/metrics">/api/metrics</a></td>
						<td>The broker metrics</td>
					</tr>
					<tr>
						<td>Y</td>
						<td>Y</td>
						<td><a href="/api/listeners">/api/listeners</a></td>
						<td>List of all TCP listeners</td>
					</tr>
					<tr>
						<td>Y</td>
						<td>Y</td>
						<td><a href="/api/clients">/api/clients</a></td>
                        <td>List of all connected clients. support GET request like this:</br>
                            			http://localhost:18083/api/clients?curr_page=1&page_size=100&client_key=Key
                                    </td>
					</tr>
					<tr>
						<td>Y</td>
						<td>Y</td>
						<td><a href="/api/sessions">/api/sessions</a></td>
                        <td>List of all sessions. support GET request like this:</br>
                            			http://localhost:18083/api/sessions?curr_page=1&page_size=100&client_key=Key
                        </td>
					</tr>
					<tr>
						<td>Y</td>
						<td>Y</td>
						<td><a href="/api/topics">/api/topics</a></td>
						<td>List of all Topics</td>
                    </tr>
	                <tr>
						<td>Y</td>
						<td>Y</td>
						<td><a href="/api/routes">/api/routes</a></td>
                        <td>List of all routes. support GET request like this:</br>
                            			http://localhost:18083/api/routes?curr_page=1&page_size=100&topic=Topic
                        </td>
                    </tr>
					<tr>
						<td>Y</td>
						<td>Y</td>
						<td><a href="/api/subscriptions">/api/subscriptions</a></td>
                        <td>List of all Subscriptions. support GET request like this:</br>
                            			http://localhost:18083/api/subscriptions?curr_page=1&page_size=100&client_key=Key
                        </td>
                    </tr>
                   <tr>
						<td>Y</td>
						<td>Y</td>
                        <td><a href="/api/plugins">/api/plugins</a></td>
                        <td>Show loaded plugins</td>
					</tr>
					<tr>
						<td>Y</td>
						<td>Y</td>
						<td><a href="/api/users">/api/users</a></td>
						<td>List of all admins</td>
					</tr>

				</tbody>
			</table>
		</div>

	</div>

</div>
